

Replication instructions for 
"How Urban Riots Influence Political Behaviour: Vote Choices after the 2011 London Riots"
Authors: Gabriel Leon-Ablan and Peter John
Journals: Political Science Research and Methods


To replicate the results in "How Urban Riots Influence Political Behaviour: Vote Choices after the 2011 London Riots" please run the .do file
"main estimation - August 15 2022.do" in Stata.

This file uses four source datasets: mayor_elections.dta, robustness_distance.dta, placebo1.dta, placebo2.dta. The .do file and the four datasets should be located in the same folder.

The log file was produced running the script on Stata 17 in a Dell Latitude 7400, with an Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz 2.11 GHz processor, and installed RAM of 32GB.

The following Stata commands were used:

- ols_spatial_HAC (for details on how to install this command, see below)

- regwls


To install the ols_spatial_HAC command:

1) Go to "http://www.globalpolicy.science/code/".

2) Click on the link for "Adjust least-squares standard errors for spatial correlation and serial correlation in panel data. (Stata and Matlab code here)"

3) Open the folder labelled "Spatial_HAC"

4) Download the file "ols_spatial_HAC.ado" to the folder where Stata keeps the ado files in your machine.